package com.quanquan.store.repository.marketActivity.collectCards;

import com.quanquan.store.entity.marketActivity.collectCards.CollectCardsGiftRecord;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @ClassName CollectCardsGiftRecordRepository
 * @Description
 * @Author Owen
 * @Date 2019/9/20 0020 下午 3:33
 * @Version V1.0
 **/
public interface CollectCardsGiftRecordRepository extends JpaRepository<CollectCardsGiftRecord,Long> {

    List<CollectCardsGiftRecord> findAllByActivityIdAndUserId(Long activityId, String userId);

}
